body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  background-color: #0d0e10
}

html {
  scroll-behavior: smooth;
}

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animations */
.hero-content h1.animate {
  animation: fadeInUp 1s ease-out;
}

.hero-content p.animate {
  animation: fadeIn 1s ease-out 0.5s both;
}

.hero-content a.animate {
  animation: bounceIn 1s ease-out 1s both;
}

.section-title.animate {
  animation: fadeInUp 0.8s ease-out both;
}

#about-section .section-title.animate {
  animation-delay: 0.2s;
}

#services-section .section-title.animate {
  animation-delay: 0.4s;
}

#trainers-section .section-title.animate {
  animation-delay: 0.6s;
}

#insights-section .section-title.animate {
  animation-delay: 0.8s;
}

#gallery-section .section-title.animate {
  animation-delay: 1s;
}

#contact-section .section-title.animate {
  animation-delay: 1.2s;
}

.service-icon.animate {
  animation: bounceIn 0.8s ease-out both;
}

.row .col-md-4:nth-child(1) .service-icon.animate {
  animation-delay: 0.2s;
}

.row .col-md-4:nth-child(2) .service-icon.animate {
  animation-delay: 0.4s;
}

.row .col-md-4:nth-child(3) .service-icon.animate {
  animation-delay: 0.6s;
}

.trainer-card.animate {
  animation: slideInUp 0.8s ease-out both;
}

.gallery-img.animate {
  animation: fadeIn 0.8s ease-out both;
}

.btn {
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.social-icon {
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
}

.background-image {

  position: absolute;

  width: 100%;

  z-index: -1;
  opacity: 0.5;

}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: #e63946 !important;
}

#gymNav.navbar-nav {
  --bs-nav-link-color: rgba(255, 255, 255, 0.65);
  --bs-nav-link-hover-color: rgba(255, 255, 255, 0.8);
  --bs-nav-link-disabled-color: rgba(255, 255, 255, 0.3);
}

#gymNavBtn.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65)
}

#gymNavBtn.navbar-toggler>span {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}

.hero-section {
  background: url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?auto=format&fit=crop&w=1471&q=80") no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: 3px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-content a {
  background: rgb(153 146 146);
  border: rgb(153 146 146);
}

.hero-content a:hover {
  background: rgb(153 146 146);
  border: rgb(153 146 146);
}

.section-title {
  font-weight: 700;
  color: rgb(153 146 146);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.service-icon {
  font-size: 3rem;
  color: rgb(153 146 146);
  margin-bottom: 1rem;
}

.trainer-card img {
  border-radius: 50%;
  object-fit: cover;
  height: 180px;
  width: 180px;
  margin-bottom: 1rem;
  border: 5px solid rgb(153 146 146);
}

.trainer-card .text-muted {
  color: #d7dcdf !important;
}

.trainer-card a {
  text-decoration: none;
  color: unset;
}

.testimonial {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 8px rgb(11 211 196 / 22%);
}

footer {
  background-color: #212529;
  color: #eee;
  padding: 2rem 0;
}

footer a {
  text-decoration: none;
  color: unset;
}

.social-icon.animate {
  animation: fadeIn 0.8s ease-out both;
}

.social-icon:nth-child(1).animate {
  animation-delay: 0.2s;
}

.social-icon:nth-child(2).animate {
  animation-delay: 0.4s;
}

.social-icon:nth-child(3).animate {
  animation-delay: 0.6s;
}

.social-icon:nth-child(4).animate {
  animation-delay: 0.8s;
}

.social-icon:hover {
  color: #fffc;
  text-decoration: none;
  transform: scale(1.2);
}

/* Gallery styles */
.gallery-img {
  object-fit: cover;
  width: 100%;
  height: 200px;
  border-radius: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgb(153 146 146 / 22%);
  z-index: 10;
  position: relative;
}

.submit-btn {
  background: rgb(153 146 146) !important;
  border: rgb(153 146 146);
}

.submit-btn:hover {
  background: rgb(153 146 146);
  border: rgb(153 146 146);
}

.modal-img {
  width: 100%;
  border-radius: 0.5rem;
}

#main-container {
  padding: 20px 0px;

  margin: auto;

  display: block;

  text-align: center;

  /* background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("Assets/Asset 50treeroots media.jpg") no-repeat center center/cover; */
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("Assets/coregravity logomark.svg") no-repeat center center/cover;
  background-attachment: fixed;
  background-size: cover;
  color: #eee;
}

#main-container>section {
  scroll-margin-block-start: 75px;
}

.form-control {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

.btn-danger {
  background: rgb(153 146 146);
  border: rgb(153 146 146);
}

.btn-danger:hover {
  background: rgb(153 146 146);
  border: rgb(153 146 146);
}

.embed-map-fixed {
  position: relative;
  text-align: right;
  width: 500px;
  height: 300px;
}

.embed-map-container {
  overflow: hidden;
  background: none !important;
  width: 500px;
  height: 300px;
}

.embed-map-frame {
  width: 500px !important;
  height: 300px !important;
}

/* Responsive map for mobile and tablet devices */
@media (max-width: 767px) {
  .embed-map-fixed {
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-bottom: 60%;
    /* 5:3 aspect ratio for better mobile viewing */
  }

  .embed-map-container {
    overflow: hidden;
    background: none !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .embed-map-frame {
    width: 100% !important;
    height: 100% !important;
    border: 0;
  }
}

.desig {
  font-size: 10px;
}

.map-container {
  display: flex;
  justify-content: center;
  align-content: center;
}